# Copyright (C) 2000-2005 Philips Electronics N.V.
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or 
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; see the file gnu_license.txt.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  
# 

# RESULT determines what will be built, set to library or binary
RESULT     = binary

PROJECTS   = library.mk

# The filename of the output
OUT        = cfront$(EXT)

CONFIG_FILES = $(CFRONT_ROOT)/Config.mk
LIBADD     = 

# Where everything will be installed
PREFIX   = $(CFRONT_ROOT)/$(UNAME)

# What will be installed, and where.
# can be. bin/aap, lib/libnoot.a include/mies.h
INSTALL    = bin/$(OUT)

# _All_ files in the project.
FILES      =  main.c

DEFS     = 
INCLUDES = -I$(PREFIX)/include \
           -I$(FRONT_include)
CPPFLAGS = 
CFLAGS   = -g -W -Wall
ifeq "$(UNAME)" "MINGW32"
LIBS     = -lcfront -lcpp -lfront -lregex
LDFLAGS  = -L$(PREFIX)/lib -L$(FRONT_lib) 
else
LIBS     = -lcfront -lcpp -lfront
LDFLAGS  = -L$(PREFIX)/lib -L$(FRONT_lib)
endif
EXTRALIBS = -lm -lgmp
BUILD    = $(SRC)/$(UNAME)
NOCLEAN  = 
CFRONT_ROOT = $(SRC)/..
